package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.Resource;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;


@MyBatisRepository
public interface ResourceDao {
	
	public List<Resource> selectByRoleId(int roleid);
	
	public List<Resource> findall();
	
	public Resource selectById(String id);
	
	public void insert(Resource resource);
	
	public void update(Resource resource);
	
	public void delete(Resource resource);
	
	public List<Resource> findParent();
}
